package model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Participa {
	
	@Id
	private int id;
	private int eventoId;
	private int associadoId;
	private Date dataParticipacao;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getEvento() {
		return eventoId;
	}
	public void setEvento(int eventoId) {
		this.eventoId = eventoId;
	}
	public int getAssociado() {
		return associadoId;
	}
	public void setAssociado(int associadoId) {
		this.associadoId = associadoId;
	}
	public Date getDataParticipacao() {
		return dataParticipacao;
	}
	public void setDataParticipacao(Date dataParticipacao) {
		this.dataParticipacao = dataParticipacao;
	}
}
